#ifndef VPCLOCK_H
#define VPCLOCK_H

#include <math.h>

class VpClock
{
public:
    int    m_serial;
    bool   m_pause;
    double m_pts;
    double m_pts_drift;
    double m_last_updated;
    double m_speed;

public:
           VpClock         ();
    void   set_clock       (double pts, int serial);
    void   set_clock_at    (double pts, int serial, double time);
    void   set_clock_speed (double speed);
    double get_clock       ();
};

#endif // VPCLOCK_H
